package db.dao;

/**
 * CourClass entity. @author MyEclipse Persistence Tools
 */

public class CourClass implements java.io.Serializable {

	// Fields

	private CourClassId id;
	private Teacher teacher;
	private Course course;
	private Byte stunumbers;
	private String place;

	// Constructors

	/** default constructor */
	public CourClass() {
	}

	/** minimal constructor */
	public CourClass(CourClassId id, Teacher teacher, Course course) {
		this.id = id;
		this.teacher = teacher;
		this.course = course;
	}

	/** full constructor */
	public CourClass(CourClassId id, Teacher teacher, Course course, Byte stunumbers, String place) {
		this.id = id;
		this.teacher = teacher;
		this.course = course;
		this.stunumbers = stunumbers;
		this.place = place;
	}

	// Property accessors

	public CourClassId getId() {
		return this.id;
	}

	public void setId(CourClassId id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Course getCourse() {
		return this.course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public Byte getStunumbers() {
		return this.stunumbers;
	}

	public void setStunumbers(Byte stunumbers) {
		this.stunumbers = stunumbers;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

}